<?php
/**
 * +----------------------------------------------------------------------
 * | summer framework
 * +----------------------------------------------------------------------
 * | Copyright (c) 2020 https://github.com/suframe/think-admin All rights reserved.
 * +----------------------------------------------------------------------
 * | Author: summer <806115620@qq.com>  2020/4/27 13:55
 * +----------------------------------------------------------------------
 */

namespace app\mall\enum;


class OrderAdminOpsEnum extends Base
{

    public const CANCEL = 'cancel';
    public const SEND = 'send';
    public const COMPLETE = 'complete';
    public const EVALUATE = 'evaluate';
    public const REFUND = 'refund';
    public const REFUND_REFUSE = 'refund_refuse';

    public static function toZhArray(): array
    {
        return [
            self::CANCEL => '取消订单',
            self::SEND => '订单发货',
            self::COMPLETE => '完成订单',
            self::EVALUATE => '评价订单',
            self::REFUND => '确认退款',
            self::REFUND_REFUSE => '拒绝退款',
        ];
    }

}